<ul class="input_list">
    <li class="input">
        <span>报警电话：</span> <input nz-input placeholder="报警电话" [(ngModel)]="alarm.tel" />
    </li>

    <li class="input">
        <span>报警邮箱：</span><input nz-input placeholder="报警邮箱" [(ngModel)]="alarm.email" />         
    </li>
    <li>    
        <button nz-button nzType="primary" class="btn" (click)="setAlarm()">
            保存
          </button>
    </li>
</ul>